package cn.lix.sc.rpc.client;


import cn.lix.sc.rpc.client.impl.rpc.EnableRpcClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients
@EnableRpcClient("cn.lix.sc.rpc.client.controller")
@EnableSwagger2
public class ClientApplication {

    public static void main(String[] args) {
        SpringApplication.run( ClientApplication.class, args );
    }

}
